.class Lcom/waiqin365/lightapp/im/activity/bn;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/text/TextWatcher;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0

    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 3

    const/4 v2, 0x0

    if-eqz p1, :cond_0

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->b(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->c(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f0802c7

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->b(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->b(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->d(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Lcom/waiqin365/base/login/mainview/TitleBar;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->d(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Lcom/waiqin365/base/login/mainview/TitleBar;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const-string/jumbo v1, "#bdbdbd"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->e(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Landroid/widget/ImageView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->d(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Lcom/waiqin365/base/login/mainview/TitleBar;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->d(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Lcom/waiqin365/base/login/mainview/TitleBar;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bn;->a:Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;->e(Lcom/waiqin365/lightapp/im/activity/GroupChageNameActivty;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0
.end method
